{include file="public/header"}
<script type="text/javascript" src="__STATIC__/common/dwv/dwv-0.22.0.min.js"></script>
<body style="background-color: #f1f1f1;">
<div class="index_html huanzheliebiao  new_huanzhe_record">

    {include file="public/nav"}

    <div class="list_box">
        <div class="title">
            <p>记录详情</p>
        </div>
        <div class="content">
            <div class="msg">
                <ul>
                    <li>
                        <span>检查编号：</span>
                        <em>{$patientcase_info['case_num']}</em>
                    </li>
                    <li>
                        <span>姓名：</span>
                        <em>{$patient_info['name']}</em>
                    </li>
                    <li>
                        <span>检查类型：</span>
                        <em>{$patientcase_info['patient_case_type']}</em>
                    </li>
                    <li>
                        <span>检查部位：</span>
                        <em>
                            {foreach name="$patientcase_info['patient_part_lat']" item="svo"}
                            {$svo['part'] ?? ''}/{$svo['lat']?? ''}
                            <br>
                            {/foreach}
                        </em>
                    </li>
                    <li>
                        <span>检查时间：</span>
                        <em>{$patientcase_info['check_time']|strtotime|date='Y-m-d',###}</em>
                    </li>
                    <li>
                        <span>检查结果：</span>
                        <em>{$patientcase_info['check_result']}</em>
                    </li>
                    <li class="dec">
                        <span>影像：</span>
                        <em>

                        </em>
                    </li>
                </ul>
            </div>
        </div>
        <!--  列表的开始 -->
        <div class="list">
            <div class="data data_1">
                <p class="theme">电子报告</p>
                <div class="img_box">
                    {foreach $electronic_report_arr as $key=>$value}
                    <div class="pic_dec" onclick="layerDcm2(this)">
                        <img src="{$value}" alt="">
                    </div>
                    {/foreach}
                </div>
                <p class="number">共{:count($electronic_report_arr)}张</p>
            </div>
            <!-- 电子胶片的 开始-->
            <div class="data data_2">
                <p class="theme">电子胶片</p>
                
                {if condition="$electronic_film_arr"}
                {foreach $electronic_film_arr as $key=>$val}

                <div class="pic_box">
                    <p class="mini_theme">{$val['report_name']}</p>
                    <div class="jiaopian_box">

                        {foreach name="$val['img']" item="svo" key="skey"}
                        <div class="pic_dec_1" onclick="layerDcm('{$key}','{$skey}','{$svo}');">
	                        <div id="dwv_{$key}_{$skey}">
	                            <div class="layerContainer">
	                                <canvas class="imageLayer"></canvas>
	                            </div>
	                        </div>
                        </div>
                        <script>

                            $(function() {
                                n = "{$key}";
                                k = "{$skey}";
                                url = "{$svo}";
                                init_dicom(n,k,url)
                            })

                        </script>
                    {/foreach}
                    </div>
                    <p class="number">共{:count($val['img'])}张</p>
                </div>
                {/foreach}
                {/if}

            </div>
            <!-- 电子胶片的 结束-->
            <!-- 录入医生 -->
            <div class="enter_doctor">
                <p>录入医生：<span>{$patientcase_info['doctor_name']}</span></p>
            </div>
        </div>
        <!--  列表的开始 -->
    </div>
</div>

{include file="public/footer" /}

